<form action="index.php?module=user&act=list&mode=delall" method="post">
<table border="1" width="400" align="center">
	<tr>
    	<td>Check</td>
        <td>Username</td>
        <td>Level</td>
        <td>Edit</td>
        <td>Del</td>
    </tr>
    <?php
	foreach($data['info'] as $item){
		$stt++;
		echo "<tr>";
		echo "<td><input type='checkbox' name=id[] value='$item[id]' /></td>";
		echo "<td>$item[username]</td>";
		if($item[level] == 1){
			echo "<td>Member</td>";
		}else{
			echo "<td><font color=red>Admin</font></td>";
		}
		echo "<td><a href=index.php?module=user&act=edit&uid=$item[id]>Edit</a></td>";
		echo "<td><a href=index.php?module=user&act=del&uid=$item[id]>Del</a></td>";
		echo "</tr>";
	}
	?>
    <tr>
    	<td colspan="5" align="center">
    	<input type="submit" name="ok" value="Delete" />
        </td>
    </tr>
</table>
</form>